.drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}
.drawer .inner {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 999;
  width: 80%;
  transform: translateX(-100rem);
  transition: all 0.3s ease;
  background-color: #fff;
}
.drawer .inner .inner-box {
  overflow: scroll;
  height: 100%;
}
.drawer .inner .inner-box::-webkit-scrollbar {
  border: 0;
}
.drawer .inner .header {
  padding: 3rem 0 4rem 0;
  background-color: #EBEBEB;
}
.drawer .inner .header .login {
  padding: 0 1.5rem;
}
.drawer .inner .header .login .avatar {
  margin-bottom: 0.6rem;
}
.drawer .inner .header .login .avatar img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 50%;
}
.drawer .inner .header .login .nickname {
  color: #333;
  font-size: 1.2rem;
  margin-right: 1rem;
  font-weight: bold;
}
.drawer .inner .header .login .level {
  color: #999;
  font-size: 0.9rem;
  background-color: #ccc;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
}
.drawer .inner .header .login .integral-box {
  flex: 1;
}
.drawer .inner .header .login .integral-box .integral {
  color: #fff;
  font-size: 0.8rem;
  background-color: #E82202;
  border-radius: 1rem;
  padding: 0.4rem 0.8rem;
  width: 3rem;
  text-align: center;
}
.drawer .inner .header .login .integral-box .integral img {
  width: 1rem;
  height: auto;
  margin-right: 0.4rem;
}
.drawer .inner .header .unlogin .title {
  color: #666;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.drawer .inner .header .unlogin .login-btn {
  width: 8rem;
  color: #666;
  font-size: 1rem;
  margin: 1.5rem auto;
  display: block;
  background: none;
  border-radius: 2rem;
  border: 0.1rem solid #ccc;
  padding: 0.5rem 0;
  text-align: center;
}
.drawer .inner .openVip {
  width: 90%;
  margin: -1.5rem auto 0 auto;
  background: linear-gradient(#121212, #373737);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  box-shadow: 0 0.5rem 1rem 0.1rem #ccc;
}
.drawer .inner .openVip .price {
  padding-right: 1.5rem;
  position: relative;
}
.drawer .inner .openVip .price::after {
  position: absolute;
  top: 0.2rem;
  right: 0;
  width: 0.1rem;
  height: 2rem;
  content: '';
  background-color: #fff;
}
.drawer .inner .openVip .price .name {
  color: #D8C0BD;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.drawer .inner .openVip .price .explain {
  color: #fff;
  font-size: 0.6rem;
}
.drawer .inner .openVip .title {
  color: #fff;
  font-size: 0.9rem;
  flex: 1;
  text-align: right;
}
.drawer .inner .openVip .coverImg {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
  border-radius: 50%;
  margin-left: 1rem;
}
.drawer .inner .nav {
  padding-bottom: 1.5rem;
  margin: 2.5rem 1rem 1rem 1rem;
  border-bottom: 0.1rem solid #f4f4f4;
}
.drawer .inner .nav .nav-item {
  flex: 1;
}
.drawer .inner .nav .nav-item .icon {
  width: 2rem;
  height: auto;
  margin-bottom: 0.6rem;
}
.drawer .inner .nav .nav-item .name {
  color: #333;
  font-size: 0.9rem;
  font-weight: bold;
}
.drawer .inner .tool-ul {
  background-color: #fff;
  padding: 1rem 1rem 4rem 1.5rem;
}
.drawer .inner .tool-ul .tool-li {
  padding: 1rem 0;
}
.drawer .inner .tool-ul .tool-li .icon {
  width: 1.6rem;
  height: auto;
  margin-right: 1rem;
}
.drawer .inner .tool-ul .tool-li .name {
  color: #333;
  font-size: 1rem;
  flex: 1;
}
.drawer .inner .tool-ul .tool-li .explain {
  color: #666;
  font-size: 0.9rem;
  margin-right: 1rem;
}
.drawer .inner .tool-ul .tool-li .explainImg {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  border-radius: 50%;
}
.drawer .inner .footer {
  background-color: #fff;
  border-top: 0.1rem solid #f4f4f4;
  padding: 1rem 1.5rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
.drawer .inner .footer .footer-item:first-of-type {
  flex: 1;
}
.drawer .inner .footer .footer-item:last-of-type {
  margin-left: 2rem;
}
.drawer .inner .footer .footer-item .icon {
  width: 1.6rem;
  height: auto;
  margin-right: 0.5rem;
}
.drawer .inner .footer .footer-item .name {
  color: #333;
  font-size: 1rem;
  flex: 1;
}
